<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: ns3::FlagTag Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d5/d77/classns3_1_1_flag_tag.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d9/d2f/classns3_1_1_flag_tag-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ns3::FlagTag Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>This class implements a tag that carries a flag to the application layer.  
 <a href="../../d5/d77/classns3_1_1_flag_tag.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Inheritance diagram for ns3::FlagTag:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d8/d1a/classns3_1_1_flag_tag__inherit__graph.png" border="0" usemap="#ans3_1_1_flag_tag_inherit__map" alt="Inheritance graph"/></div>
<map name="ans3_1_1_flag_tag_inherit__map" id="ans3_1_1_flag_tag_inherit__map">
<area shape="rect" title="This class implements a tag that carries a flag to the application layer." alt="" coords="5,79,108,104"/>
<area shape="rect" href="../../d0/d57/class_tag.html" title=" " alt="" coords="35,5,79,31"/>
<area shape="poly" title=" " alt="" coords="59,44,59,79,54,79,54,44"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for ns3::FlagTag:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d9/d16/classns3_1_1_flag_tag__coll__graph.png" border="0" usemap="#ans3_1_1_flag_tag_coll__map" alt="Collaboration graph"/></div>
<map name="ans3_1_1_flag_tag_coll__map" id="ans3_1_1_flag_tag_coll__map">
<area shape="rect" title="This class implements a tag that carries a flag to the application layer." alt="" coords="12,93,115,119"/>
<area shape="rect" href="../../d0/d57/class_tag.html" title=" " alt="" coords="5,5,49,31"/>
<area shape="poly" title=" " alt="" coords="40,43,61,92,56,94,35,45"/>
<area shape="rect" title=" " alt="" coords="74,5,125,31"/>
<area shape="poly" title=" " alt="" coords="92,45,71,94,66,92,87,43"/>
</map>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5ab5aac189eb7786f73a1e4d9356db88"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a5ab5aac189eb7786f73a1e4d9356db88">FlagTag</a> ()</td></tr>
<tr class="separator:a5ab5aac189eb7786f73a1e4d9356db88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11e898ed3ab9f24bf6eed35ec5e46ed7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a11e898ed3ab9f24bf6eed35ec5e46ed7">Deserialize</a> (TagBuffer <a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>) override</td></tr>
<tr class="separator:a11e898ed3ab9f24bf6eed35ec5e46ed7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1af1deae4da34eb465dd0d18acad52a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a1af1deae4da34eb465dd0d18acad52a6">GetFlag</a> (void) const</td></tr>
<tr class="memdesc:a1af1deae4da34eb465dd0d18acad52a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the tag's flag.  <br /></td></tr>
<tr class="separator:a1af1deae4da34eb465dd0d18acad52a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dc1f450efbd7a4bfabe02314a96ba40"><td class="memItemLeft" align="right" valign="top">TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a4dc1f450efbd7a4bfabe02314a96ba40">GetInstanceTypeId</a> (void) const override</td></tr>
<tr class="separator:a4dc1f450efbd7a4bfabe02314a96ba40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26f8c3fb4074289dd309456fb2b45ef0"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a26f8c3fb4074289dd309456fb2b45ef0">GetSerializedSize</a> (void) const override</td></tr>
<tr class="separator:a26f8c3fb4074289dd309456fb2b45ef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03888da6210e8342f231b99942e29747"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a03888da6210e8342f231b99942e29747">Print</a> (std::ostream &amp;os) const override</td></tr>
<tr class="separator:a03888da6210e8342f231b99942e29747"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0891649d6ff04fc214a7e7bc65b79765"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a0891649d6ff04fc214a7e7bc65b79765">Serialize</a> (TagBuffer <a class="el" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>) const override</td></tr>
<tr class="separator:a0891649d6ff04fc214a7e7bc65b79765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92c961c9c9e46744bf73cf82399e68df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a92c961c9c9e46744bf73cf82399e68df">SetFlag</a> (bool flag)</td></tr>
<tr class="memdesc:a92c961c9c9e46744bf73cf82399e68df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the tag's flag.  <br /></td></tr>
<tr class="separator:a92c961c9c9e46744bf73cf82399e68df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a24c18b7b220e710f507bf4aa537ee653"><td class="memItemLeft" align="right" valign="top">static TypeId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#a24c18b7b220e710f507bf4aa537ee653">GetTypeId</a> (void)</td></tr>
<tr class="memdesc:a24c18b7b220e710f507bf4aa537ee653"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Type ID.  <br /></td></tr>
<tr class="separator:a24c18b7b220e710f507bf4aa537ee653"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:af7137d5a0b5e197f3be0a4033a987c17"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html#af7137d5a0b5e197f3be0a4033a987c17">m_flag</a></td></tr>
<tr class="separator:af7137d5a0b5e197f3be0a4033a987c17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class implements a tag that carries a flag to the application layer. </p>

<p class="definition">Definition at line <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00108">108</a> of file <a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a5ab5aac189eb7786f73a1e4d9356db88" name="a5ab5aac189eb7786f73a1e4d9356db88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ab5aac189eb7786f73a1e4d9356db88">&#9670;&#160;</a></span>FlagTag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ns3::FlagTag::FlagTag </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00164">164</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a11e898ed3ab9f24bf6eed35ec5e46ed7" name="a11e898ed3ab9f24bf6eed35ec5e46ed7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11e898ed3ab9f24bf6eed35ec5e46ed7">&#9670;&#160;</a></span>Deserialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::FlagTag::Deserialize </td>
          <td>(</td>
          <td class="paramtype">TagBuffer&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00215">215</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00147">m_flag</a>.</p>

</div>
</div>
<a id="a1af1deae4da34eb465dd0d18acad52a6" name="a1af1deae4da34eb465dd0d18acad52a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1af1deae4da34eb465dd0d18acad52a6">&#9670;&#160;</a></span>GetFlag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::FlagTag::GetFlag </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the tag's flag. </p>
<dl class="section return"><dt>Returns</dt><dd>the flag </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00177">177</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00147">m_flag</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00170">ns3::DGRPacketSink::HandleRead()</a>.</p>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/d77/classns3_1_1_flag_tag_a1af1deae4da34eb465dd0d18acad52a6_icgraph.png" border="0" usemap="#ad5/d77/classns3_1_1_flag_tag_a1af1deae4da34eb465dd0d18acad52a6_icgraph" alt=""/></div>
<map name="ad5/d77/classns3_1_1_flag_tag_a1af1deae4da34eb465dd0d18acad52a6_icgraph" id="ad5/d77/classns3_1_1_flag_tag_a1af1deae4da34eb465dd0d18acad52a6_icgraph">
<area shape="rect" title="Get the tag&#39;s flag." alt="" coords="605,42,768,67"/>
<area shape="rect" href="../../dc/d11/classns3_1_1_d_g_r_packet_sink.html#a5bc1c04b2b572ae2197853efeceb650e" title="Handle a packet received by the application." alt="" coords="405,35,557,75"/>
<area shape="poly" title=" " alt="" coords="592,57,558,57,558,52,592,52"/>
<area shape="rect" href="../../dc/d11/classns3_1_1_d_g_r_packet_sink.html#a60bdb8ea5bb655c1b77220963b2531d7" title="Handle an incoming connection." alt="" coords="205,5,357,45"/>
<area shape="poly" title=" " alt="" coords="391,44,357,39,358,34,392,39"/>
<area shape="rect" href="../../dc/d11/classns3_1_1_d_g_r_packet_sink.html#abe7e96a9e41ed5e769ffc06a20cc775f" title=" " alt="" coords="5,35,157,75"/>
<area shape="poly" title=" " alt="" coords="391,59,357,60,205,60,158,59,158,54,205,55,357,55,391,54"/>
<area shape="poly" title=" " alt="" coords="192,41,158,46,157,41,191,36"/>
</map>
</div>

</div>
</div>
<a id="a4dc1f450efbd7a4bfabe02314a96ba40" name="a4dc1f450efbd7a4bfabe02314a96ba40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dc1f450efbd7a4bfabe02314a96ba40">&#9670;&#160;</a></span>GetInstanceTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::FlagTag::GetInstanceTypeId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00194">194</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00184">GetTypeId()</a>.</p>
<div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="../../closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/d77/classns3_1_1_flag_tag_a4dc1f450efbd7a4bfabe02314a96ba40_cgraph.png" border="0" usemap="#ad5/d77/classns3_1_1_flag_tag_a4dc1f450efbd7a4bfabe02314a96ba40_cgraph" alt=""/></div>
<map name="ad5/d77/classns3_1_1_flag_tag_a4dc1f450efbd7a4bfabe02314a96ba40_cgraph" id="ad5/d77/classns3_1_1_flag_tag_a4dc1f450efbd7a4bfabe02314a96ba40_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,195,45"/>
<area shape="rect" href="../../d5/d77/classns3_1_1_flag_tag.html#a24c18b7b220e710f507bf4aa537ee653" title="Get the Type ID." alt="" coords="243,13,419,38"/>
<area shape="poly" title=" " alt="" coords="195,23,229,23,229,28,195,28"/>
</map>
</div>

</div>
</div>
<a id="a26f8c3fb4074289dd309456fb2b45ef0" name="a26f8c3fb4074289dd309456fb2b45ef0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26f8c3fb4074289dd309456fb2b45ef0">&#9670;&#160;</a></span>GetSerializedSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ns3::FlagTag::GetSerializedSize </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00200">200</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

</div>
</div>
<a id="a24c18b7b220e710f507bf4aa537ee653" name="a24c18b7b220e710f507bf4aa537ee653"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c18b7b220e710f507bf4aa537ee653">&#9670;&#160;</a></span>GetTypeId()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TypeId ns3::FlagTag::GetTypeId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the Type ID. </p>
<dl class="section return"><dt>Returns</dt><dd>the object TypeId </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00184">184</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00194">GetInstanceTypeId()</a>.</p>
<div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/d77/classns3_1_1_flag_tag_a24c18b7b220e710f507bf4aa537ee653_icgraph.png" border="0" usemap="#ad5/d77/classns3_1_1_flag_tag_a24c18b7b220e710f507bf4aa537ee653_icgraph" alt=""/></div>
<map name="ad5/d77/classns3_1_1_flag_tag_a24c18b7b220e710f507bf4aa537ee653_icgraph" id="ad5/d77/classns3_1_1_flag_tag_a24c18b7b220e710f507bf4aa537ee653_icgraph">
<area shape="rect" title="Get the Type ID." alt="" coords="243,13,419,38"/>
<area shape="rect" href="../../d5/d77/classns3_1_1_flag_tag.html#a4dc1f450efbd7a4bfabe02314a96ba40" title=" " alt="" coords="5,5,195,45"/>
<area shape="poly" title=" " alt="" coords="229,28,195,28,195,23,229,23"/>
</map>
</div>

</div>
</div>
<a id="a03888da6210e8342f231b99942e29747" name="a03888da6210e8342f231b99942e29747"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03888da6210e8342f231b99942e29747">&#9670;&#160;</a></span>Print()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::FlagTag::Print </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00224">224</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00147">m_flag</a>.</p>

</div>
</div>
<a id="a0891649d6ff04fc214a7e7bc65b79765" name="a0891649d6ff04fc214a7e7bc65b79765"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0891649d6ff04fc214a7e7bc65b79765">&#9670;&#160;</a></span>Serialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::FlagTag::Serialize </td>
          <td>(</td>
          <td class="paramtype">TagBuffer&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00207">207</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d89/dgr-sink_8cc_source.html#l00169">ns3::i</a>, and <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00147">m_flag</a>.</p>

</div>
</div>
<a id="a92c961c9c9e46744bf73cf82399e68df" name="a92c961c9c9e46744bf73cf82399e68df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92c961c9c9e46744bf73cf82399e68df">&#9670;&#160;</a></span>SetFlag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ns3::FlagTag::SetFlag </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the tag's flag. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">flag</td><td>the flag </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00170">170</a> of file <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a>.</p>

<p class="reference">References <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00147">m_flag</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d0/dbf/dgr-tcp-application_8cc_source.html#l00219">ns3::DGRTcpApplication::SendData()</a>, and <a class="el" href="../../d0/ded/dgr-udp-application_8cc_source.html#l00121">ns3::DGRUdpApplication::SendPacket()</a>.</p>
<div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="../../closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="../../d5/d77/classns3_1_1_flag_tag_a92c961c9c9e46744bf73cf82399e68df_icgraph.png" border="0" usemap="#ad5/d77/classns3_1_1_flag_tag_a92c961c9c9e46744bf73cf82399e68df_icgraph" alt=""/></div>
<map name="ad5/d77/classns3_1_1_flag_tag_a92c961c9c9e46744bf73cf82399e68df_icgraph" id="ad5/d77/classns3_1_1_flag_tag_a92c961c9c9e46744bf73cf82399e68df_icgraph">
<area shape="rect" title="Set the tag&#39;s flag." alt="" coords="687,159,847,185"/>
<area shape="rect" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a5d97018a7a55030432c7bd4941439224" title="Send data until the L4 transmission buffer is full." alt="" coords="461,92,635,132"/>
<area shape="poly" title=" " alt="" coords="706,158,621,135,622,129,707,153"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a844392732fe5f6e197992c862c4151db" title="Send a packet" alt="" coords="457,184,639,224"/>
<area shape="poly" title=" " alt="" coords="673,188,639,193,638,188,672,183"/>
<area shape="rect" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#a240d181619fe26fa934e3e152c153696" title="Connection Succeeded (called by Socket through a callback)" alt="" coords="231,5,406,45"/>
<area shape="poly" title=" " alt="" coords="480,89,372,48,374,43,482,85"/>
<area shape="rect" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad3f18ec72baf186800e72eed654eac2c" title=" " alt="" coords="5,63,180,103"/>
<area shape="poly" title=" " alt="" coords="447,108,180,91,180,86,447,103"/>
<area shape="rect" href="../../d1/d1b/classns3_1_1_d_g_r_tcp_application.html#ad6e628629f8e191964b873fed001a902" title="Send more data as soon as some has been transmitted." alt="" coords="231,120,406,160"/>
<area shape="poly" title=" " alt="" coords="447,127,406,132,406,127,447,122"/>
<area shape="poly" title=" " alt="" coords="227,51,173,65,171,60,226,46"/>
<area shape="poly" title=" " alt="" coords="226,119,171,105,173,100,227,114"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#a217460003efed056634b84d512c0f47b" title="Schedule a new transmission." alt="" coords="228,184,409,224"/>
<area shape="poly" title=" " alt="" coords="443,216,410,215,410,210,443,210"/>
<area shape="rect" href="../../d5/dbe/classns3_1_1_d_g_r_udp_application.html#ada9c016c08e91a65da084c790acd4618" title=" " alt="" coords="228,248,409,288"/>
<area shape="poly" title=" " alt="" coords="463,230,392,251,390,245,462,225"/>
<area shape="poly" title=" " alt="" coords="423,192,457,193,457,198,423,198"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="af7137d5a0b5e197f3be0a4033a987c17" name="af7137d5a0b5e197f3be0a4033a987c17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7137d5a0b5e197f3be0a4033a987c17">&#9670;&#160;</a></span>m_flag</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ns3::FlagTag::m_flag</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../dc/ded/dgr-tags_8h_source.html#l00147">147</a> of file <a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00215">Deserialize()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00177">GetFlag()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00224">Print()</a>, <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00207">Serialize()</a>, and <a class="el" href="../../d1/d14/dgr-tags_8cc_source.html#l00170">SetFlag()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>model/<a class="el" href="../../dc/ded/dgr-tags_8h_source.html">dgr-tags.h</a></li>
<li>model/<a class="el" href="../../d1/d14/dgr-tags_8cc_source.html">dgr-tags.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d2e/namespacens3.html">ns3</a></li><li class="navelem"><a class="el" href="../../d5/d77/classns3_1_1_flag_tag.html">FlagTag</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
